//引入核心库
import Vue from 'vue'
import App from './App.vue'
//引入路由
import router from './router'
//全局引入清除默认样式
import './assets/css/reset.css'
//全局引入rem
import './assets/js/rem.js'
//引入iconfont
import './assets/font/iconfont.css'
//引入封装好的过滤器
import vFilter from './filters'

// 引入vant UI框架
import Vant from 'vant'
import 'vant/lib/index.css'
Vue.use(Vant)

//循环 创建全局过滤器
for(let i in vFilter){
  Vue.filter(i,vFilter[i])
}

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
